package org.galaxyworld.flycode.config;

public class AppConfigData extends ConfigData {

    private String outputDirPath;

    private boolean java8Enabled;

    @Override
    public void load(ConfigFile configFile) {
        outputDirPath = configFile.getString("output.dir");
        java8Enabled = configFile.getBoolean("java8.enabled");
    }

    public String getOutputDirPath() {
        return outputDirPath;
    }

    public boolean isJava8Enabled() {
        return java8Enabled;
    }

    public void setOutputDirPath(String outputDirPath) {
        this.outputDirPath = outputDirPath;
    }

    @Override
    public String getName() {
        return "app";
    }
}
